package com.tencreat.service.account;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tencreat.common.core.domain.model.ReqIdParam;
import com.tencreat.common.core.domain.model.ReqIdsParam;
import com.tencreat.domain.account.AccountWaitBalance;

import java.util.List;

/**
 * 未结算余额记录Service接口
 *
 * @author tencreat
 * @date 2021-12-21
 */
public interface IAccountWaitBalanceService  extends IService<AccountWaitBalance> {
    /**
     * 查询未结算余额记录
     *
     * @param id 未结算余额记录ID
     * @return 未结算余额记录
     */
    public AccountWaitBalance selectAccountWaitBalanceById(ReqIdParam id);

    /**
     * 查询未结算余额记录列表
     *
     * @param accountWaitBalance 未结算余额记录
     * @return 未结算余额记录集合
     */
    public List<AccountWaitBalance> selectAccountWaitBalanceList(AccountWaitBalance accountWaitBalance);

    /**
     * 新增未结算余额记录
     *
     * @param accountWaitBalance 未结算余额记录
     * @return 结果
     */
    public int insertAccountWaitBalance(AccountWaitBalance accountWaitBalance);

    /**
     * 修改未结算余额记录
     *
     * @param accountWaitBalance 未结算余额记录
     * @return 结果
     */
    public int updateAccountWaitBalance(AccountWaitBalance accountWaitBalance);

    /**
     * 批量删除未结算余额记录
     *
     * @param ids 需要删除的未结算余额记录ID
     * @return 结果
     */
    public int deleteAccountWaitBalanceByIds(ReqIdsParam ids);

    /**
     * 删除未结算余额记录信息
     *
     * @param id 未结算余额记录ID
     * @return 结果
     */
    public int deleteAccountWaitBalanceById(ReqIdParam id);
}
